import React, { FC } from 'react'
import { Statistic, Card, Row, Col, Form, Select } from 'antd'
import AssetsDif from './components/AssetsDif'
import UnitdDif from './components/UnitdDif'
import Original from './components/Original'
import Originaltem from './components/Originaltem'
import NetWorth from './components/NetWorth'
import NetWorthItem from './components/NetWorthItem'
import './index.less'
import { getData } from '@/api/index'
import getStore from '@/Store/store'
// const { Countdown } = Statistic
// const deadline = Date.now() + 1000 * 60 * 60 * 24 * 2 + 1000 * 30 // Moment is also OK
const  Option  = Select.Option
interface Props {}
const Index = (props:any) => {
	console.log(getData)
	const store = getStore()
	console.log(store);
	return (
		<div className='home'>
			<div className='home_left'>
				<div className='home_assets_dif'>
					<div className='item_title'>资产分类定价折旧与财务折旧差异</div>
					<AssetsDif />
				</div>
				<div className='home_unit_dif'>
					<div className='item_title'>单位定价折旧与财务折旧差异</div>
					<UnitdDif />
				</div>
			</div>
			<div className='home_right'>
				<div className='item_title'>资产分类、用户资产、逾龄资产占比</div>
				<Form
					style={{ marginTop: '70px' }}
					name='adDa'
					labelCol={{ span: 8 }}
					wrapperCol={{ span: 16 }}
					>
					<Row>
						<Col xs={12} sm={12} md={12} lg={8} xl={8} xxl={8}>
							<Form.Item label='单位' name='company'>
								<Select>
									<Option value='1'>1</Option>
									<Option value='2'>2</Option>
									<Option value='3'>3</Option>
								</Select>
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={8} xxl={8}>
							<Form.Item label='资产分类' name='init'>
								<Select>
									<Option value='1'>1</Option>
									<Option value='2'>2</Option>
									<Option value='3'>3</Option>
								</Select>
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={8} xxl={8}>
							<Form.Item label='时间' name='timer'>
								<Select>
									<Option value='1'>1</Option>
									<Option value='2'>2</Option>
									<Option value='3'>3</Option>
								</Select>
							</Form.Item>
						</Col>
					</Row>
				</Form>
				<div className='classify'>
					<div className='classify_top'>
						<Original />
						<Originaltem />
					</div>
					<div className='classify_bottom'>
						<NetWorth />
						<NetWorthItem />
					</div>
				</div>
			</div>
		</div>

		
	)
}

export default Index
